<?php

require("../db/DBhelper.php");
$db = new DB();

$dataArray=array(
    "MusicName"=>$_GET["MusicName"],
    "MusicUrl"=>$_GET["MusicUrl"],
    "IsUse"=>$_GET["IsUse"],
    "Sort"=>$_GET["Sort"],
    "CoverImage"=>$_GET["CoverImage"]
);

$flg= $db->insert("s_music", $dataArray);
if($flg==TRUE){
    echo '添加成功';
}else{
    echo '添加失败';
}

